package com.warm.test.i18n;

import cn.dev33.satoken.annotation.SaIgnore;
import com.warm.core.utils.MessageUtils;
import org.noear.solon.annotation.Controller;
import org.noear.solon.annotation.Mapping;
import org.noear.solon.validation.annotation.Valid;

@SaIgnore
@Mapping("/demo/i18n")
@Valid
@Controller
public class I18nController {
    @Mapping("/demo")
    public String demo() {
        return MessageUtils.message("no.permission", 3);
    }
}